<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>投票</title>
<link href="__TMPL__Public/css/boilerplate.css" rel="stylesheet" type="text/css">
<link href="__TMPL__Public/css/style.css" rel="stylesheet" type="text/css">
<link href="__TMPL__Public/css/animate.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="__TMPL__Public/js/respond.min.js"></script>
<script src="__TMPL__Public/js/jquery.min.js"></script>

</head>
<body style="background:#c30d23; z-index: 1;" >

<div id="audio_btn" class="video_exist off play_yinfu" style="display: block;">
    <div id="yinfu" class="rotate"></div>
    <audio loop src="__TMPL__Public/music/bg_2.mp3" id="media" autoplay preload="preload"></audio>
</div>


    <div id="title1" class="fluid fadeInLeft animated" style="display: block;">
        <div id="div1" class="">
            <img src="__TMPL__Public/images/title_1.png" style="width: 58%;">
        </div>
        
    </div>
    
    <div class="gridContainer clearfix">
      <div id="div2" class="fluid bounceInLeft animated">
        <img src="__TMPL__Public/images/log_1.png" style="width: 88%;">
      </div>
      <div id="div2_1" class="fluid bounceInRight animated">
        <img src="__TMPL__Public/images/log_2.png" style="width: 88%;">
      </div>
    </div>
    
    
    <div class="gridContainer clearfix">
      <div id="div3" class="fluid flipInX animated">
        <img src="__TMPL__Public/images/title_3.png" style="width:80%;">
      </div>
    </div>
    
    <div class="gridContainer clearfix" style="z-index:99;">
      <div id="div4" class="fluid bounceIn animated" style="z-index:999;">
        <a href="{:U('index/content')}" class="go btn" style="z-index:9999;">参与投票</a>
      </div>
    </div>

<script>
$("#audio_btn").click(function(){    
    var music = document.getElementById("media");     
    if(music.paused){    
        music.play();
		$("#yinfu").addClass('rotate');
		$("#audio_btn").addClass('play_yinfu');
        $("#music_btn").attr("src","play.gif");    
    }else{    
        music.pause();  
		$("#yinfu").removeClass('rotate');
		$("#audio_btn").removeClass('play_yinfu');  
        $("#music_btn").attr("src","pause.gif");    
    }    
});    
</script>
</body>
</html>
